package models

import "gorm.io/gorm"

type Medical struct {
	gorm.Model
	Name string `gorm:"type:varchar(30)" json:"name"`
	Age  int    `gorm:"type:int" json:"age"`
	Sex  string `gorm:"type:varchar(20)" json:"sex"`
	Tel  string `gorm:"type:varchar(11)" json:"tel"`
}

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)" json:"username"`
	Password string `gorm:"type:varchar(60)" json:"password"`
}
